Skip to content

Adds more fields and filters to the locations list#1973

Open
johnclary wants to merge 14 commits intomainfrom
john/26710-loc-list-filters
Open

Adds more fields and filters to the locations list#1973
johnclary wants to merge 14 commits intomainfrom
john/26710-loc-list-filters

Conversation

@johnclary
Copy link
Member

@johnclary johnclary commented Feb 23, 2026

Associated issues

Testing

URL to test: Local

On the /locations list, use the settings menu to enable visibility of all table columns. Test out the new filter cards on the filter drop down menu. Test out sorting on the Signalized and High injury network columns. Sorting is disabled on the array type columns.

On the location details page, observe the additional fields on the Details card

  • Area engineer
  • Signal engineer
  • Signalized
  • Council district(s)
  • High injury network
  • APD sector

Ship list

  • Check migrations for any conflicts with latest migrations in main branch
  • Confirm Hasura role permissions for necessary access
  • Code reviewed
  • Product manager approved

@netlify
Copy link

netlify bot commented Feb 23, 2026

Deploy Preview for atd-vze-staging ready!

Name Link
🔨 Latest commit 69e4984
🔍 Latest deploy log https://app.netlify.com/projects/atd-vze-staging/deploys/69a9d70d9d8ca300079d6574
😎 Deploy Preview https://deploy-preview-1973--atd-vze-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

maxWidth: "30rem",
overflow: "hidden",
textOverflow: "ellipsis",
whiteSpace: "nowrap",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This puts a cap on our extremely long location names

Image

.dropdown-menu {
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

Copy link
Member Author

@johnclary johnclary Feb 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adds a shadow to our dropdown menus

Image

@johnclary johnclary changed the title John/26710 loc list filters Adds more fields and filters to the locations list Feb 23, 2026
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the view bot missed these changes because Rose's PR came in after it.

Copy link
Member Author

@johnclary johnclary left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left comments on my own PR

Copy link
Member

@chiaberry chiaberry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested filtering on the new fields and ✔️

I expected the signalized filter to be a toggle yes or no and not able to filter on "yes signalized" and "not signalized" but I see thats how the fields are defined is_signalized_yes and is_signalized_no

The down migration is giving me an error " "cannot drop columns from view". I'll change this comment to approval after its addressed!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so nice having this diff to review!


export const locationsListViewQueryConfig: QueryConfig = {
_version: 2,
_version: 6,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just curious, why did this jump from 2 to 6?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants